package com.xy.ddd.core.model;

public class Page {
    protected Long currentPage;
    protected Long totalCount;

    public Page() {
    }

    public Page(Long currentPage, Long totalCount) {
        this.currentPage = currentPage;
        this.totalCount = totalCount;
    }

    public Long getCurrentPage() {
        return this.currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getTotalCount() {
        return this.totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }
}